﻿<%@ Control Language="C#" ClassName="MembersFields" %>

<asp:FormView ID="FormView1" runat="server">
	<ItemTemplate>
		<table border="0" cellpadding="3" cellspacing="1">
			<tr>
        <td class="literal"><asp:Label ID="lbldataMembersName" runat="server" Text="Members Name:" AssociatedControlID="dataMembersName" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataMembersName" Text='<%# Bind("MembersName") %>' MaxLength="100"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataMembersName" runat="server" Display="Dynamic" ControlToValidate="dataMembersName" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataMembersLogin" runat="server" Text="Members Login:" AssociatedControlID="dataMembersLogin" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataMembersLogin" Text='<%# Bind("MembersLogin") %>' MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataMembersLogin" runat="server" Display="Dynamic" ControlToValidate="dataMembersLogin" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataMembersPassword" runat="server" Text="Members Password:" AssociatedControlID="dataMembersPassword" /></td>
        <td>
					<asp:HiddenField runat="server" id="dataMembersPassword" Value='<%# Bind("MembersPassword") %>'></asp:HiddenField>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataMembersAddress" runat="server" Text="Members Address:" AssociatedControlID="dataMembersAddress" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataMembersAddress" Text='<%# Bind("MembersAddress") %>' MaxLength="200"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataMembersAddress" runat="server" Display="Dynamic" ControlToValidate="dataMembersAddress" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataMembersTel" runat="server" Text="Members Tel:" AssociatedControlID="dataMembersTel" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataMembersTel" Text='<%# Bind("MembersTel") %>' MaxLength="15"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataMembersDateJoin" runat="server" Text="Members Date Join:" AssociatedControlID="dataMembersDateJoin" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataMembersDateJoin" Text='<%# Bind("MembersDateJoin", "{0:d}") %>' MaxLength="10"></asp:TextBox><asp:ImageButton ID="cal_dataMembersDateJoin" runat="server" SkinID="CalendarImageButton" OnClientClick="javascript:showCalendarControl(this.previousSibling);return false;" /><asp:RequiredFieldValidator ID="ReqVal_dataMembersDateJoin" runat="server" Display="Dynamic" ControlToValidate="dataMembersDateJoin" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataMembersMail" runat="server" Text="Members Mail:" AssociatedControlID="dataMembersMail" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataMembersMail" Text='<%# Bind("MembersMail") %>' MaxLength="50"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataMembersLastLogin" runat="server" Text="Members Last Login:" AssociatedControlID="dataMembersLastLogin" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataMembersLastLogin" Text='<%# Bind("MembersLastLogin", "{0:d}") %>' MaxLength="10"></asp:TextBox><asp:ImageButton ID="cal_dataMembersLastLogin" runat="server" SkinID="CalendarImageButton" OnClientClick="javascript:showCalendarControl(this.previousSibling);return false;" /><asp:RequiredFieldValidator ID="ReqVal_dataMembersLastLogin" runat="server" Display="Dynamic" ControlToValidate="dataMembersLastLogin" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataMembersCity" runat="server" Text="Members City:" AssociatedControlID="dataMembersCity" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataMembersCity" Text='<%# Bind("MembersCity") %>' MaxLength="10"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataIsActive" runat="server" Text="Is Active:" AssociatedControlID="dataIsActive" /></td>
        <td>
					<asp:RadioButtonList runat="server" ID="dataIsActive" SelectedValue='<%# Bind("IsActive") %>' RepeatDirection="Horizontal"><asp:ListItem Value="True" Text="Yes" Selected="True"></asp:ListItem><asp:ListItem Value="False" Text="No"></asp:ListItem></asp:RadioButtonList>
				</td>
			</tr>
			
		</table>

	</ItemTemplate>
</asp:FormView>


